<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="base.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>欢迎访问BluMIne--请登录</title>
<link href="${basePath }/styles/style.css" rel="stylesheet" type="text/css" />
<link href="${basePath }/scripts/easy_validator/css/validate.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${basePath }/scripts/jquery.js"></script>
<script type="text/javascript" src="${basePath }/scripts/easy_validator/js/easy_validator.js"></script>
<script type="text/javascript" src="${basePath }/scripts/easy_validator/js/jquery.bgiframe.min.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$("#username").focus(function(){
			this.select();
		});
	});
</script>
</head>

<body>	    
    <div class="user_div">
    	<h3 class="tabs_involved">
        欢迎访问BluMIne
        </h3>
        <hr />
        <div class="module_content">
        	<c:if test="${not empty sessionScope.msg}">
	        	<div class="msg_prompt">
	            	<img src="images/icn_alert_warning.png" />
	            	<span id="msg">${sessionScope.msg.message}</span>
	            	<c:remove var="msg" scope="session" />
	            </div>
            </c:if>
        	<form action="${basePath }/index!login.jspx" method="post" >
        	<div class="issue_items">
            	<h4 class="issue_title">用户名</h4>
                <input type="text" class="input_style required" id="username" name="user.userName" reg="^\w+$" tip="用户名【只能为数字或英文字母或下划线组成】" value="${user.userName }" tabindex="1" />
            </div>
            <div class="issue_items">
            	<h4 class="issue_title">密码</h4>
                <input type="password" class="input_style required" id="password" name="user.password" value="${user.password }"  reg="^[0-9a-zA-Z]+$" tip="密码【只能为数字或英文字母】" tabindex="2" />
            </div>
            <div class="actions">
            	<span class="save_pwd"><input type="checkbox" name="pwdsaver" checked="checked" value="1"/>记住密码</span>
                <span class="new_task">
                	<input type="submit" class="btn_submit" value="登录"/>
                </span>                    
            </div> 
            </form>   
            </div>    	       
    </div>
</body>
</html>
